export class ObjectUtils {

    public static isEmpty(obj: any | object): boolean {
        if (!obj) {
            return true;
        } else if ((typeof obj) === 'string' && obj.constructor.name === 'String') {
            return (obj as string).trim().length == 0;
        }
        return false;
    }

}